package com.jeesite.modules.billnopattern.enums;

/**
 * 单号格式类型
 *
 * @author mnd
 */
public enum BillPatternEnum {
	/**
	 * 枚举列表
	 */
	FORM("单据", "0", "0"),
	BARCODE("条码", "1", "1");

	private final String text;
	private final String value;
	private final String sn;

	BillPatternEnum(String text, String value, String sn) {
		this.text = text;
		this.value = value;
		this.sn = sn;
	}

	public String getText() {
		return text;
	}

	public String getValue() {
		return value;
	}

	public String getSn() {
		return sn;
	}

	@Override
	public String toString() {
		return "BillPatternEnum{" +
				"text='" + text + '\'' +
				", value=" + value +
				", sn='" + sn + '\'' +
				'}';
	}

}
